home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / machserver / 1.098 / dev / sun4.md / mouse.h < prev    next >
C/C++ Source or Header  |  1990-10-05  |  2KB  |  38 lines

  1. /*
  2.  * mouse.h --
  3.  *
  4.  *    Declarations for things exported by devMouse.c to the rest
  5.  *    of the device module.
  6.  *
  7.  * Copyright 1989 Regents of the University of California
  8.  * Permission to use, copy, modify, and distribute this
  9.  * software and its documentation for any purpose and without
  10.  * fee is hereby granted, provided that the above copyright
  11.  * notice appear in all copies.  The University of California
  12.  * makes no representations about the suitability of this
  13.  * software for any purpose.  It is provided "as is" without
  14.  * express or implied warranty.
  15.  *
  16.  * $Header: /sprite/src/kernel/dev/sun3.md/RCS/mouse.h,v 9.1 90/10/05 18:11:11 mendel Exp $ SPRITE (Berkeley)
  17.  */
  18.  
  19. #ifndef _DEVMOUSE
  20. #define _DEVMOUSE
  21.  
  22. extern ReturnStatus    DevMouseClose _ARGS_((Fs_Device *devicePtr,
  23.     int useFlags, int openCount, int writerCount));
  24. extern void        DevMouseInit _ARGS_((void));
  25. extern void        DevMouseInterrupt _ARGS_((void));
  26. extern ReturnStatus    DevMouseIOControl _ARGS_((Fs_Device *devicePtr,
  27.     Fs_IOCParam *ioctlPtr, Fs_IOReply *replyPtr));
  28. extern ReturnStatus    DevMouseOpen _ARGS_((Fs_Device *devicePtr,
  29.     int useFlags, Fs_NotifyToken token, int *flagsPtr));
  30. extern ReturnStatus    DevMouseRead _ARGS_((Fs_Device *devicePtr,
  31.     Fs_IOParam *readPtr, Fs_IOReply *replyPtr));
  32. extern ReturnStatus    DevMouseSelect _ARGS_((Fs_Device *devicePtr, 
  33.     int *readPtr, int *writePtr, int *exceptPtr));
  34. extern ReturnStatus    DevMouseWrite _ARGS_((Fs_Device *devicePtr,
  35.     Fs_IOParam *writePtr, Fs_IOReply *replyPtr));
  36.  
  37. #endif /* _DEVMOUSE */
  38.